public class Taxi {
    private TaxiMeter taxiMeter;

    public Taxi(TaxiMeter taxiMeter) {
        this.taxiMeter = taxiMeter;
    }

    public TaxiCharge createTaxiCharge(int time) {
        return taxiMeter.createTaxiCharge(time);
    }
}
